<template>
	<view class="container">
		<uni-list>
			<uni-list-item clickable @click="detail(item._id)" link v-for="item in items" :key="item._id"
				:title="item.name" :note="item.describe">
			</uni-list-item>
		</uni-list>

	</view>
</template>

<script>
	export default {
		props: ['items'],
		data() {
			return {
				activeKey: 'home',

			}
		},
		methods: {
			detail(id) {
				uni.navigateTo({
					url: `/pages/memory/memoryDetailPage/memoryDetailPage?id=${id}`
				})
			}
		}
	}
</script>

<style lang="scss">
	.container {}
</style>